package top.atluofu.common.constant;

/**
 * @ClassName: WareConstant
 * @description: TODO
 * @author: 有罗敷的马同学
 * @datetime: 2022Year-11Month-09Day-21:45
 * @Version: 1.0
 */
public class WareConstant {

    public enum PurcherStatusEnum {
        CREATED(0, "新建"), ASSIGNED(1, "已分配"),RECEIVE(2, "已领取"),
        FINISH(3, "已完成"),HASEERROR(4, "有异常");

        private int code;

        private String msg;


        PurcherStatusEnum(int i, String 新建) {
        }

        public int getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }

    public enum PurcherDetailStatusEnum {
        CREATED(0, "新建"), ASSIGNED(1, "已分配"),RECEIVE(2, "已领取"),
        FINISH(3, "已完成"),HASEERROR(4, "有异常"),BUYING(5, "正在采购");

        private int code;

        private String msg;

        PurcherDetailStatusEnum(int i, String 新建) {
        }


        public int getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }

}
